﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DevLib.Logger;
using DevLib.SuperTool;
using DevLib.FileTool;

/** 
 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
 * Description: 
 * Author: Heller (HellerSong@outlook.com)
 * CreationTime: 3/24/2015 10:38:55 PM
 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 
 **/
namespace UnitTest.TestLogger
{
	[TestClass]
	public class TestDevLogger
	{
		[TestMethod]
		public void test_wirte_log()
		{
			DevLogger.WriteLog("test1222");
			DevLogger.WriteLog("test2");
		}

		[TestMethod]
		public void test_write_log_and_content()
		{
			DevLogger.WriteLog("This is log test ~");
			DevLogger.WriteLogContent("Content1");
			DevLogger.WriteLogContent("Content2");
		}

		[TestMethod]
		public void test_illegal_argument()
		{
			string path = DevGlobal.PATH_SOLUTION;
			Console.WriteLine(path);
			Console.WriteLine(DirOM.GetLeafDirectoryName(path));
			Console.WriteLine(DirOM.GetLeafDirectoryName(null));
		}
	}
}
